package com.caimiao.miao.page.welcome;

import android.content.Intent;

import com.caimiao.miao.R;
import com.caimiao.miao.interfaces.BaseActivity;
import com.caimiao.miao.page.home.HomeActivity;

public class MainActivity extends BaseActivity<IMainContact.Presenter> implements IMainContact.View {

    @Override
    protected int getLayoutRes() {
        return R.layout.activity_main;
    }

    @Override
    protected void initUI() {
    }

    @Override
    protected void initLogic() {
        new MainPresenter(this);
    }

    @Override
    public void skipActivity() {
        startActivity(new Intent(this, HomeActivity.class));
        finish();
    }
}
